Global Index
HTML5 JS API Index > DOM Tutorials & Specs

HTMLTimeElement

Extends HTMLElement.

The time element represents its contents, along with a machine-readable form of those contents in the datetime attribute. The kind of content is limited to various kinds of dates, times, time-zone offsets, and durations, as described below.

Properties
DOMString
dateTime
The dateTime IDL attribute must reflect the element's datetime content attribute.